package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.Complain;
import com.ruoyi.business.qo.ComplainQO;
import org.apache.ibatis.annotations.Param;

public interface ComplainMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Complain record);

    int insertSelective(Complain record);

    Complain selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Complain record);

    int updateByPrimaryKey(Complain record);

    IPage<Complain> queryPage(@Param("page") Page page, @Param("complainQO") ComplainQO complainQO);
}